package com.atguigu.spzx.feign.user;

import com.atguigu.spzx.model.entity.order.UserAddress;
import com.atguigu.spzx.model.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author LT
 * @create 2024-03-30-16:44
 */
@FeignClient(value = "service-user")
public interface UserFeignClient {

    @GetMapping("/api/user/userAddress/getUserAddress/{id}")
    public Result<UserAddress> getUserAddress (@PathVariable("id")Long id);


}
